using System;
using System.ComponentModel.DataAnnotations;
using Coderoom.ScrumPlanner.Resources;

namespace Coderoom.ScrumPlanner.Domain
{
	public sealed class Task : Entity
	{
		public Guid UserStoryId { get; set; }

		[Range(0, 13, ErrorMessageResourceType = typeof(ValidationMessages), ErrorMessageResourceName = "Task_EstimatedComplexityNotInRange")]
		public byte EstimatedComplexity { get; set; }
	}
}